package com.sunronsoft.mind.map;

import com.jfinal.template.Directive;
import com.jfinal.template.Env;
import com.jfinal.template.io.Writer;
import com.jfinal.template.stat.Scope;

/**
 * @author Sunron
 **/
public class NowTimeDirective extends Directive {
    
    @Override
    public void exec(Env env, Scope scope, Writer writer) {
        write(writer, String.valueOf(System.currentTimeMillis() / 1000));
    }
}
